package com.wnxy.service;

import com.wnxy.dto.*;
import com.wnxy.model.Manager;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.vo.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author alice
 * @since 2021-10-25
 */
public interface ManagerService extends IService<Manager> {
LoginDto login(Manager manager);

LoginDto sendCode(String phone);

LoginDto loginByPhone(LoginByPhoneVo loginByPhoneVo) throws IllegalAccessException;

    LoginDto saveManager(RegisterVo registerVo);

    PageRoleDto queryManager(QueryPageVo queryPageVo);

    LoginDto changePhoto(PhotoVo photoVo);

    LoginDto qqbind(QQbindVo qqbindvo);
    void loadManagerRoleSign(ManagerDetail md);
    Boolean isRoleSign(Integer managerId,String pathUrl);

    void loadRolePath();
}
